package org.jeecg.modules.business.third.service;/*
 * 项目名称:    wms-server-jeecg
 * 接口描述:    //
 * 创建人员:    zhaojun
 * 创建时间:    2023-10-11
 */

import org.jeecg.modules.business.outbound.entity.WmsOutReceiptTaskMaterial;
import org.jeecg.modules.business.warehouse.entity.WmsInReceiptTaskMaterial;

import java.util.Map;
import java.util.Optional;

public interface IThirdCommonService {

    /**
     * 获取入库单据记录信息
     *
     * @param taskId
     * @param receiptId
     * @return
     */
    Map<String, Object> warehouseReceiptMaterialVoes(String taskId, String receiptId, Integer type);

    /**
     * 获取出库任务记录信息
     *
     * @param taskId
     * @param receiptId
     * @return
     */
    Map<String, Object> outboundReceiptMaterialVoes(String taskId, String receiptId, Integer type);

    /**
     * 获取调拨任务记录信息
     *
     * @param taskId
     * @param receiptId
     * @return
     */
    Map<String, Object> deliveryMaterialVoes(String taskId, String receiptId, Integer type);

    /**
     * 获取移库任务记录信息
     *
     * @param receiptId
     * @return
     */
    Map<String, Object> moveMaterialVoes(String receiptId);


    Optional<WmsOutReceiptTaskMaterial> getWmsOutReceiptTaskMaterials(String taskId);

    Optional<WmsInReceiptTaskMaterial> getWmsInReceiptTaskMaterials(String taskId);
}
